<template>
    <router-view />
  <van-tabbar router v-model="active">
  <van-tabbar-item icon="home-o" to="/home/index">首页</van-tabbar-item>
  <van-tabbar-item icon="search" to="/home/gou">购物车</van-tabbar-item>
</van-tabbar>
</template>

<script setup>

import { ref } from 'vue';

 const active = ref(0);
</script>

<style lang="scss" scoped>

</style>